package com.scada.inf;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import com.scada.model.bean.MemberBuyService;
import com.scada.model.result.ResponseBean;
import com.scada.model.search.MemberBuyServiceSearch;

@WebService
@SOAPBinding(style = Style.RPC)
public interface MemberBuyServiceVisitor {

	public void deleteMemberBuyServiceById(String isShow, String ids);

	public void insertMemberBuyService(MemberBuyService memberBuyService);

	public ResponseBean getMemberBuyServiceById(Long id);

	public void updateMemberBuyService(MemberBuyService memberBuyService);
	
	public ResponseBean getMemberBuyServicePageData(MemberBuyServiceSearch memberBuyServiceSearch);
	
	public ResponseBean validateBuyRepeat(Long id, String buyStartDate, String buyEndDate, Long memberId, Long serviceId );
	
	public ResponseBean updateIfRenew(String ifRenew, Long id);
}
